<?php
namespace app\agenttest\controller;
use app\common\model\Ad;
use think\Controller;
use think\Session;

class Wxpay extends Controller
{
    public function index()
    {
        return $this->fetch();
    }
    //
    public function adlist(){
        $Ad = new Ad();
        $adlist = $Ad->select();
        $this->assign('ad',$adlist);
        $this->display();

    }
}
